package com.ubi.app.api;

import com.ubi.app.dao.PositionMapper;
import com.ubi.app.request.SubmitPositionRequest;
import com.ubi.app.response.QueryPositionResponse;
import com.ubi.app.response.SubmitPositionResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 *
 * @auth kentc
 * @date 6/14 0014
 */
@RequestMapping(value = "/api/lbs")
@RestController
public class LocationAPIController {

    @Autowired
    private PositionMapper positionMapper;

    @RequestMapping(value = "/position",method = RequestMethod.POST)
    public SubmitPositionResponse submit(@RequestBody SubmitPositionRequest request) {

        return null;
    }

    @RequestMapping(value = "/position",method = RequestMethod.GET)
    public QueryPositionResponse query() {
        return null;
    }
}
